import { request } from './request'

export async function getUserList(data: any) {
    return request({
        url: '/user',
        method: 'GET',
        data
    })
}

export async function delUser(data: any) {
    return request({
        url: `/user/${data._id}`,
        method: 'DELETE',
    })
}
